package com.project.systemfront.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 评论对象 comment
 * 
 * @author ruoyi
 * @date 2025-01-20
 */
@Data
public class Comment
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Long id;

    /** 作品ID */

    private Long artworkId;

    /** 评论用户ID */

    private Long userId;

    /** 评论内容 */

    private String content;

    /** 父评论ID */

    private Long parentId;

    /** 状态：0删除，1正常 */

    private Long status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
